/* 全局设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

/* 容器 */
.container {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* 头部样式 */
header {
    background-color: #4a90e2;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.avatar {
    border-radius: 50%;
    width: 100px;
    margin-bottom: 30px;
}

.bio {
    font-size: 1rem;
    opacity: 0.9;
}

/* 文章列表 */
.blog-list {
    margin-top: 30px;
}

.post {
    background: white;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 5px solid #4a90e2;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.post h2 a {
    color: #4a90e2;
    text-decoration: none;
}

.post h2 a:hover {
    text-decoration: underline;
}

/* 页脚 */
footer {
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
    color: #666;
}

/* 文章页专用 */
.post-header {
    background-color: #4a90e2;
    color: #fff;
    padding: 60px 0 40px;
    text-align: center;
}

.post-title {
    margin-bottom: 10px;
    font-size: 2rem;
}

.post-meta {
    font-size: 0.9rem;
    opacity: 0.85;
}

.back-home {
    display: inline-block;
    margin-top: 15px;
    color: #fff;
    text-decoration: underline;
}

.post-content {
    background: #fff;
    padding: 30px 20px;
    margin-top: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.post-content h2 {
    margin: 24px 0 12px;
}

pre {
    background: #f3f4f6;
    padding: 15px;
    overflow-x: auto;
    border-radius: 4px;
}

